* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-size: 14px !important;
  background: #f5f5f9;
  margin: 0 !important;
  padding: 0 !important;
  // 乐橙
  font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, Helvetica,
    Segoe UI, Arial, Roboto, PingFang SC, miui, Hiragino Sans GB,
    Microsoft Yahei, sans-serif;
  -webkit-font-smoothing: antialiased;
}

:focus {
  outline: 1;
}

article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary {
  display: block;
}

ul,
ol {
  list-style: none;
}

ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

input,
select {
  vertical-align: middle;
}

a {
  text-decoration: none;
  color: black;
}

i {
  font-style: normal;
}

img {
  display: block;
  max-width: 100%;
}

// 解决vant 在微信浏览器有滚动条
textarea,
input {
  -webkit-tap-highlight-color: rgba(255, 0, 0, 0);
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
  -webkit-appearance: none;
  overflow-y: hidden;
}
table.tipstable {
  border-collapse: collapse;
  td {
    text-align: left;
    border: 1px solid #e6e6e6;
    padding: 5px;
  }
}

table {
  table-layout: fixed;
  empty-cells: show;
  border-collapse: collapse;
  margin: 0 auto;
}
// 常用模块公共样式
.fix_foot_box {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 10;
  width: 100%;
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
  background-color: #fff;
  box-shadow: 0 -0.08rem 0.133333rem 0 rgba(0, 0, 0, 0.1);
  .actionBox {
    width: 100%;
    padding: 5px 15px;
    background-color: #fff;
  }
}
.safe_area {
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
}

.btm_line {
  position: relative;

  &::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    border-bottom: 1px solid #ededed;
    transform: scaleY(0.5);
  }
}
// 页面遮罩层,禁止修改点击
.disabledForm {
  position: relative;

  &::after {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    top: 0;
    content: '';
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: 2;
  }
}

.common_pop_main {
  width: 100%;
  height: 85vh;
  background-color: #fff;
  .pop_head_line {
    width: 100%;
    height: 50px;
    line-height: 50px;
    font-size: 16px;
    font-weight: 600;
    font-family: MiSans;
    text-align: center;
    position: relative;
    border-bottom: 1px solid #f5f5f5;
    .back_btn {
      position: absolute;
      top: 0;
      bottom: 0;
      right: 10px;
      margin: auto;
      width: 15px;
      height: 15px;
    }
  }
  .pop_conts_box {
    width: 100%;
    height: calc(85vh - 100px);
    padding: 5px 0;
    overflow-y: scroll;
  }
  .pop_foot_btns {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 50px;
    padding: 0 12px;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
    &.is_one{
      justify-content: center;
    }
    .one_btn {
      width: 80%;
      height: 40px;
      line-height: 40px;
      border-radius: 22px;
      font-size: 15px;
      text-align: center;
      border: 1px solid #f54040;
        color: #fff;
        background: #f54040;
        &.is_rgt{
          width: 40%;
        }
    }
  }
}

@font-face {
  font-family: MiSans;
  src: url("https://wxou.mschn.cn/app_h5/insurepics/fonts/MiSans-Regular.ttf");
}